package com.lllmark.lllmarkDemo.entity.dto;


/**
 * @author yuxiangZhang
 * @data 2024/5/11
 */

public class UserDTO {
    public UserDTO() {
    }

    public UserDTO(Integer id, String userName, String gender, Integer age, Integer page, Integer pageSize) {
        this.id = id;
        this.userName = userName;
        this.gender = gender;
        this.age = age;
        this.page = page;
        this.pageSize = pageSize;
    }

    // id
    private Integer id;
    // 用户名
    private String userName;
    // 用户性别
    private String gender;
    // 用户年龄
    private Integer age;
    // 当前页码
    private Integer page;
    // 每页的数据量
    private Integer pageSize;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    @Override
    public String toString() {
        return "UserDTO{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", gender='" + gender + '\'' +
                ", age=" + age +
                ", page=" + page +
                ", pageSize=" + pageSize +
                '}';
    }
}
